home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 36 / qostnote.zip / DVOFMAT.TEC < prev    next >
Text File  |  1989-11-27  |  4KB  |  124 lines

  1.  
  2. DESQVIEW.DVO file consists of individual records:
  3.  
  4. ┌───────────────────────────────────────────┐
  5. │  Program Record for 1st program in list   │
  6. ├───────────────────────────────────────────┤
  7. │  Program Record for 2nd program in list   │
  8. ├───────────────────────────────────────────┤
  9. |                                           |
  10. ├───────────────────────────────────────────┤
  11. │  Program Record for last program in list  │
  12. ├───────────────────────────────────────────┤
  13. │  End of Program List Record               │
  14. ├───────────────────────────────────────────┤
  15. │  Add/Delete/Change a Program Information  │
  16. └───────────────────────────────────────────┘
  17.  
  18.  
  19. Program Record Structure:
  20.  
  21.  byte         n bytes         byte   byte  byte byte byte
  22. ┌────────┬──────────────────┬──────┬──────┬────┬────┬────┐
  23. │Length  │  NAME of Program │ Key1 │ Key2 │ 00 │ 00 │ 00 │
  24. │of NAME │                  │      │      │    │    │    │
  25. └────────┴──────────────────┴──────┴──────┴────┴────┴────┘
  26.  
  27.  
  28. End of Program List Record Structire:
  29.  
  30.  byte byte byte byte byte byte
  31. ┌────┬────┬────┬────┬────┬────┐
  32. │ 00 │ 00 │ 00 │ 04 │ 00 │ 00 │
  33. │    │    │    │    │    │    │
  34. └────┴────┴────┴────┴────┴────┘
  35.  
  36.  
  37. Add/Delete/Change a Program Information:
  38.  
  39. 0D 41 64 64 20 61 20 50 72 6F 67 72 61 6D 41 50
  40. 00 00 00 10 44 65 6C 65 74 65 20 61 20 50 72 6F
  41. 67 72 61 6D 44 50 80 00 00 10 43 68 61 6E 67 65
  42. 20 61 20 50 72 6F 67 72 61 6D 43 50 81 00 00 FF
  43.  
  44.  
  45. Example DESQview.DVO -
  46.  
  47. The Open Window menu is:
  48.  
  49. ▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
  50. ▐       Open Window        ▌
  51. ▐                          ▌
  52. ▐ 43 line DOS Direct    43 ▌
  53. ▐ API Debugger          AD ▌
  54. ▐ BASIC Examples        EX ▌
  55. ▐ TASKMAN               TM ▌
  56. ▐──────────────────────────▌
  57. ▐ Add a Program         AP ▌
  58. ▐ Delete a Program      DP ▌
  59. ▐ Change a Program      CP ▌
  60. ▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  61.  
  62.  
  63. And the corresponding DESQVIEW.DVO is:
  64.  
  65. (L = length of Name, K1 = Key1, K2 = Key2)
  66.  
  67.          L  ┌─────────────── 12 (hex) characters ───────────────┐ K1 K2
  68. Prog1    12 34 33 20 6C 69 6E 65 20 44 4F 53 20 44 69 72 65 63 74 34 33 00 00 00
  69.              4  3     l  i  n  e     D  O  S     D  i  r  e  c  t  4  3
  70.  
  71.          L  ┌────── 0C (hex) characters ──────┐ K1 K2
  72. Prog2    0C 41 50 49 20 44 65 62 75 67 67 65 72 41 44 00 00 00
  73.              A  P  I     D  e  b  u  g  g  e  r  A  D
  74.  
  75.          L  ┌───────── 0E (hex) characters ─────────┐ K1 K2
  76. Prog3    0E 42 41 53 49 43 20 45 78 61 6D 70 6C 65 73 45 58 00 00 00
  77.              B  A  S  I  C     E  x  a  m  p  l  e  s  E  X
  78.  
  79.          L  ┌─ 07 (hex) chars ─┐ K1 K2
  80. Prog4    07 54 41 53 4B 4D 41 4E 54 4D 00 00 00
  81.              T  A  S  K  M  A  N  T  M
  82.  
  83.  
  84. End of   00 00 00 04 00 00
  85. List
  86.  
  87.  
  88. AP/DP/   0D 41 64 64 20 61 20 50 72 6F 67 72 61 6D 41 50
  89. CP Info  00 00 00 10 44 65 6C 65 74 65 20 61 20 50 72 6F
  90.          67 72 61 6D 44 50 80 00 00 10 43 68 61 6E 67 65
  91.          20 61 20 50 72 6F 67 72 61 6D 43 50 81 00 00 FF
  92.  
  93.  
  94. To add the program 'Planner-X' with the keys PX to the above DESQVIEW.DVO file,
  95. you would place the following record IN BETWEEN Prog3 and Prog4 record:
  96.  
  97.          L  ┌─── 09 (hex) chars ─────┐ K1 K2
  98. NuProg   09 50 6C 61 6E 6E 65 72 2D 58 50 58 00 00 00
  99.              P  l  a  n  n  e  r  -  X  P  X
  100.  
  101. NOTE THAT THE ORDER OF THE PROGRAMS IN THE DESQVIEW.DVO FILE DEFINES THEIR ORDER
  102. IN THE OPEN WINDOW MENU - IT IS UP TO YOU TO PLACE THE NEW PROGRAM RECORDS IN
  103. THE CORRECT PLACE IN THE FILE!
  104.  
  105. This will produce the following Open Window Menu:
  106.  
  107. ▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
  108. ▐       Open Window        ▌
  109. ▐                          ▌
  110. ▐ 43 line DOS Direct    43 ▌
  111. ▐ API Debugger          AD ▌
  112. ▐ BASIC Examples        EX ▌
  113. ▐ Planner-X             PX ▌
  114. ▐ TASKMAN               TM ▌
  115. ▐──────────────────────────▌
  116. ▐ Add a Program         AP ▌
  117. ▐ Delete a Program      DP ▌
  118. ▐ Change a Program      CP ▌
  119. ▐▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
  120.  
  121. It is advised that you do not generate the DESQVIEW.DVO file from scratch, but
  122. rather update the one already present since this one already contains the
  123. Add/Delete/Change a Program Information at the end.
  124.